<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:sec="http://www.springframework.org/security/facelets/tags" >
<h:body>
<h:form>
    <h:panelGrid columns="2">
        <h:outputLabel value="Bem vindo," style="font-size: 14px; margin-left: 6px; " /><h:outputLabel value="#{contextoBean.usuarioLogado.pessoa.postoGraduacao.concat(' ').concat(contextoBean.usuarioLogado.pessoa.nomeGuerra)}" style="font-size: 14px; margin-left: 4px; font-style: italic;  font-weight: bold" >
                <sec:ifAnyGranted roles="ROLE_ADMINISTRADOR">
                    <h:commandLink title="Administrador">
                        <h:graphicImage library="imagens" name="ROLE_ADMINISTRADOR.png" />
                    </h:commandLink>
                </sec:ifAnyGranted>
                <sec:ifAnyGranted roles="ROLE_PROTOCOLISTA">
                    <h:commandLink title="Protocolista">
                        <h:graphicImage library="imagens" name="ROLE_PROTOCOLISTA.png" />
                    </h:commandLink>
                </sec:ifAnyGranted>
                <sec:ifAnyGranted roles="ROLE_CONVENCIONAL">
                    <h:commandLink title="Convencional">
                        <h:graphicImage library="imagens" name="ROLE_CONVENCIONAL.png" />
                    </h:commandLink>
                </sec:ifAnyGranted>
            </h:outputLabel>
            <!-- <h:outputLabel value="Hoje é dia #{contextoBean.dataAtual}" style="margin-left: 6px; color: black" /> -->
    </h:panelGrid>
</h:form>
</h:body>
</html>
